/*
 * =====================================================================================
 *
 *       Filename:  Employee.h
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/05/2022 04:18:18 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */
#pragma once
#include "IVisitor.h"
#include <iostream>
using std::string;
class CEmployee {
  public:
    static int MALE;
    static int FEMALE;
    CEmployee(void);
    virtual ~ CEmployee(void);
    string GetName();
    void SetName(string name);
    int GetSalary();
    void SetSalary(int v);
    int GetSex();
    void SetSex(int v);
    virtual void Accept(IVisitor* pVisitor) = 0;
  private:
    string m_name;
    int m_salary;
    int m_sex;
};
